home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
008a
/
files008.zip
/
FILES.DOC
< prev
next >
Wrap
Text File
|
1991-10-02
|
5KB
|
129 lines
Files v0.08, display open files table under Desqview
Portions Copyright (C) 1991, W.H. Bond
This started out as a quick & dirty program for my own use. After playing
with it a little and with some prodding (ouch :-)) by Don Dawson of
1:141/730, we thought it was too fun not to pass along.
This program is based on a Byte Magazine article (March 1991)
_Undocumented_DOS_ by Andrew Schulman, the article was adapted from the
book of the same name, by Andrew Schulman, Raymond J. Michels, Jim Kyle,
Tim Paterson, David Maxey, and Ralf Brown.
Written using DVGLUE by Ralf Brown & Ralf Brown's INTER191.Zip. Thanks
Ralf.
This program is provided free of charge for non-commercial use. There is
no warranty expressed or implied. The user of this program assumes all
responsibility for the operation of, and any consequences of using, this
program.
Files displays a table of currently open files. It will loop continuously
until the ESC is key pressed. It will only run under Desqview and DOS 3.1
or higher (I've only tested it with DV 2.31 and MS-DOS 3.3 with Share.exe
loaded).
Fields displayed:
y/n sleep mode on (+) or off (-)
Filename Ext name/ext of file
Size current file size
Offset current offset into file
Attr files' attribute
Mode open mode
Date files' date
Time files' time
Hnd # of file handles referring to this file(?)
PSP File owners PSP
Active Keys:
Esc Exit/Quit
PgUp/PgDn Moves between display screens (if more than one)
Home clear and redraw screen
F1 Open help window
F2 Toggle open/all mode
F3 Toggle regular/open mode display
F4 Toggle sleep/nosleep mode
F5 Toggle full path display/regular display
F6 Toggle showing of detail on closed files if 'all' mode
is selected (by using F2)
F1 will open a small help window, press Esc to close it. The DVP file
enclosed provides 2k of system memory needed to pop up the help screen.
F2 or the space bar will toggle open/all modes. The initial mode shows
only open files. The all mode will dump the whole file table, files that
are not open will show a 0 in the 'handles' column.
F3 will provide more detail about the open files, sharing modes and file
attributes.
F4 toggles sleep mode on and off. When sleep mode is on the program will
give up one second of time after each screen refresh, this is the default.
This allows Files to use very little overhead. While sleep mode is on a
'+' will be displayed in the upper left hand corner of the screen. When
sleep mode is toggled off the screen redraw will be more frequent, at the
expense of hogging more system time. The '+' will change to a '-' when
sleep mode is toggled off.
F5 toggles display of the full path to the open files if share.exe is
loaded and the file is found in the Dos sharing table.
F6 toggles display of closed file info if the all mode (F2). This enables
you to view the entire files table but suppresses display of info for
unused or closed entries. It may be easier to use this mode if many files
are opened and closed quickly, since the positions of the open files won't
jump around on the screen.
Files attempts to be smart about the screen length and displays only as
many files as will fit on the screen. If you resize the window it will try
to adjust to the new window height. Pressing the Home key will allow you
to reset the display manually if it becomes confused.
The DVP file included provides Files with 18k of memory. If Files doesn't
run properly on your system then adding a small amount of memory may help.
The DVP also provides 2k of system memory for the help screen.
Questions/Comments/Bug Reports may be sent to Bill Bond
1:325/118@fidonet
Revision history:
files005 6/25/91 Added full path display (F5).
files006 9/10/91 Added help window (F1). Fixed problem with
FCB display occasionally causing window to
scroll.
files007 9/27/91 Added F6 key option. Added version number to
help screen. Fixed FCB display under Dos
v5.0. It appears that Dos 5.0 doesn't zero
out the FCB table, so garbage would be
displayed for unused FCB entries.
files008 10/2/91 Fixed a couple of minor nits in the FCB display code.
It was still displaying garbage in certain
circumstances.